package com.atguigu.spring6iocxml.auto.controller;

import com.atguigu.spring6iocxml.auto.service.UserService;

public class UserController {

    private UserService userService;
    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public void addUser() {
        this.userService.addUserService();
        System.out.println("UserController addUser()");
    }
}
